.. _cmmIntReadErrorStatus: cmmIntReadErrorStatus ======================== ------------------------ SYNOPSIS ``````````` .. code-block:: none VT_I4 cmmIntReadErrorStatus( [in] VT_I4 Axis, [out] VT_PI4 ErrState ) DESCRIPTION ``````````````` - 지정한 축의 “에러 인터럽트”에 대한 상태를 반환합니다. PARAMETER ``````````` - Axis: 축번호. 축번호는 상수값으로 [cmX1] 부터 0 번째 축을 기준 축으로 임의의 축을 설정할 수 있습니다. \ - ErrState : 발생된 인터럽트를 통해 확인되는 에러 상태. 지정한 축의 “에러 인터럽트”에 대한 상태를 반환합니다. 에러가 없으면 이값은 0 이며, 에러가 발생한 경우에는 아래와 같이 에러코드값을 반환합니다. .. csv-table:: :widths: 10 85 :header-rows: 1 :stub-columns: 0 Value, Meaning BIT No., Meaning 0 (cmERR_NONE), 에러 없음 -5002 (cmERR_STOP_BY_SLP), Abnormally stopped by positive soft limit -5003 (cmERR_STOP_BY_SLN), Abnormally stopped by negative soft limit -5004 (cmERR_STOP_BY_CMP3), Abnormally stopped by comparator3 -5005 (cmERR_STOP_BY_CMP4), Abnormally stopped by comparator4 -5006 (cmERR_STOP_BY_CMP5), Abnormally stopped by comparator5 -5007 (cmERR_STOP_BY_ELP), Abnormally stopped by (+) external limit -5008 (cmERR_STOP_BY_ELN), Abnormally stopped by (-) external limit -5009 (cmERR_STOP_BY_ALM), Abnormally stopped by alarm input signal -5010 (cmERR_STOP_BY_CSTP), Abnormally stopped by CSTP input signal -5011 (cmERR_STOP_BY_CEMG), Abnormally stopped by CEMG input signal -5012 (cmERR_STOP_BY_SD), Abnormally stopped by SD input signal -5013 (cmERR_STOP_BY_DERROR), Abnormally stopped by operation data error -5014 (cmERR_STOP_BY_IP), Abnormally stopped by other axis error during interpolation -5015 (cmERR_STOP_BY_PO), An overflow occurred in the PA/PB input buffer -5016 (cmERR_STOP_BY_AO), Out of range position counter during interpolation -5017 (cmERR_STOP_BY_EE), An EA/EB input error occurred (does not stop) -5018 (cmERR_STOP_BY_PE), An PA/PB input error occurred (does not stop) -5019 (cmERR_STOP_BY_SLVERR), "Abnormally stopped because slave axis has been stopped (Only in Master/Slave mode)" 다양한 에러 상태는 CMMSDK 의 버전에 따라서 수시로 업데이트 되므로, 최신 에러 코드는 각 개발 환경 별 인터페이스 파일(Header File) 의 에러코드 정의 부를 참조해주시기 바랍니다. RETURN VALUE ````````````` .. csv-table:: :widths: 10 85 :header-rows: 1 :stub-columns: 0 Value, Meaning 음수, 수행 실패 cmERR_NONE, 수행 성공